package com.haisen.controller;


import com.haisen.dataobject.entity.Area;
import lombok.extern.slf4j.Slf4j;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Controller
@RequestMapping("/order")
@Slf4j
public class OrderController{


    @GetMapping
    @RequiresPermissions("area:view")
    public String page(Model model) {
        return "charts/chartjs";
    }
}
